package com.power.doc.data;

import com.github.javafaker.Address;
import com.github.javafaker.Faker;
import com.github.javafaker.Name;

import java.util.Locale;

/**
 *
 * @author <a href="mailto:sunmch@163.com">smc</a>
 * @date 2021-05-12 19:17
 * @since 1.0.0
 **/
public class DataCreateDemo {

	public static void main(String[] args) {
		Faker faker = new Faker(Locale.SIMPLIFIED_CHINESE);
		Address address = faker.address();
		Name name = faker.name();
		System.out.println(address.city()+", " +address.fullAddress());
		System.out.println(name.name()+" ," + name.title());
		System.out.println(address.fullAddress());
		System.out.println(name.name());
	}
}
